package bean;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2023 -06 -25
 * Time: 19:30
 */
public class Dish {
    private int dishId;
    private String dishName;
    private int price;

    public Dish() {}
    public Dish( String dishName, int price) {
        this.dishName = dishName;
        this.price = price;
    }
    public Dish(int dishId, String dishName, int price) {
        this.dishId = dishId;
        this.dishName = dishName;
        this.price = price;
    }

    public int getDishId() {
        return dishId;
    }

    public void setDishId(int dishId) {
        this.dishId = dishId;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Dish{" +
                "dishId=" + dishId +
                ", dishName='" + dishName + '\'' +
                ", price=" + price +
                '}';
    }
}
